// 《现状评价报告》页面接口文件
import request from '@/utils/request.js';

/**查询 现状评价列表 */
export function listReport(query){
  return request({
    url: '/system/report/list',
    method: 'get',
    params: query
  })
}

/** 新增 */
export function addReport(data){
  return request({
    url: '/system/report',
    method: 'post',
    data
  })
}

/** 编辑 */
export function editReport(data){
  return request({
    url: '/system/report',
    method: 'put',
    data
  })
}

/** 删除 */
export function deleteReport(ids){
  return request({
    url: `/system/report/${ids}`,
    method: 'delete'
  })
}

/** 详情 */
export function detailReport(ids){
  return request({
    url: `/system/report/${ids}`,
    method: 'get'
  })
}

/** 导出 */
export function exportReport(data){
  return request({
    url: `/system/report/export`,
    method: 'post',
    data
  })
}

/**
 * 
 * 《三同时报告》 接口文件
 * 
 */

/**查询 现状评价列表 */
export function listReporting(query){
  return request({
    url: '/system/reporting/list',
    method: 'get',
    params: query
  })
}

/** 新增 */
export function addReporting(data){
  return request({
    url: '/system/reporting',
    method: 'post',
    data
  })
}

/** 编辑 */
export function editReporting(data){
  return request({
    url: '/system/reporting',
    method: 'put',
    data
  })
}

/** 删除 */
export function deleteReporting(ids){
  return request({
    url: `/system/reporting/${ids}`,
    method: 'delete'
  })
}

/** 详情 */
export function detailReporting(ids){
  return request({
    url: `/system/reporting/${ids}`,
    method: 'get'
  })
}

/** 导出 */
export function exportReporting(data){
  return request({
    url: `/system/report/exporting`,
    method: 'post',
    data
  })
}